//
//  RootViewController.m
//  早分享李双阳
//
//  Created by dllo on 15/12/11.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "RootViewController.h"

@interface RootViewController ()<UITableViewDataSource, UITableViewDelegate, UISearchResultsUpdating>
@property(nonatomic,retain)UITableView *tabel;
@property (nonatomic ,retain)UISearchBar *search;
@property(nonatomic ,retain)NSMutableArray *tabelData;
@property(nonatomic ,retain)NSMutableArray *searchResult;

@end

@implementation RootViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor whiteColor];
    self.tabel = [[UITableView alloc]initWithFrame:self.view.frame style:UITableViewStylePlain];
    self.tabel.delegate = self;
    self.tabel.dataSource  =self;
    [self.view addSubview: self.tabel];




    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
